package com.tcc.nav.logic;

import org.apache.xpath.operations.String;
import org.openqa.selenium.WebDriver;

import com.tcc.qa.test.util.LinkFinder;

public class NavFinder {
  public static void gotoTabPage(WebDriver driver, String name) {
    LinkFinder.getLinkByText(driver, name).click();
  }

  public static void gotoMenuOptionPage(WebDriver driver, String name) {
    LinkFinder.getLinkByText(driver, name).click();
  }
}
